#ifndef C_QSTYLE_H
#define C_QSTYLE_H

/****************************************************************************
** QStyle C bindings generated from reading C++ file 'qstyle.h'
**
** Created: Tue Jul 30 19:22:29 2002
**      by: The Qt Meta Object Compiler ($Revision: 2.53 $)
**
** WARNING! All changes made in this file will be lost!
*****************************************************************************/

C_EXPORT GUIStyle QStyle_guiStyle(QStyleH handle);
C_EXPORT void QStyle_polish(QStyleH handle, QWidgetH p1);
C_EXPORT void QStyle_unPolish(QStyleH handle, QWidgetH p1);
C_EXPORT void QStyle_polish2(QStyleH handle, QApplicationH p1);
C_EXPORT void QStyle_unPolish2(QStyleH handle, QApplicationH p1);
C_EXPORT void QStyle_polish3(QStyleH handle, QPaletteH p1);
C_EXPORT void QStyle_itemRect(QStyleH handle, PRect retval, QPainterH p, int x, int y, int w, int h, int flags, bool enabled, const QPixmapH pixmap, PWideString text, int len);
C_EXPORT void QStyle_drawItem(QStyleH handle, QPainterH p, int x, int y, int w, int h, int flags, const QColorGroupH g, bool enabled, const QPixmapH pixmap, PWideString text, int len, const QColorH penColor);
C_EXPORT void QStyle_drawSeparator(QStyleH handle, QPainterH p, int x1, int y1, int x2, int y2, const QColorGroupH g, bool sunken, int lineWidth, int midLineWidth);
C_EXPORT void QStyle_drawRect(QStyleH handle, QPainterH p, int x, int y, int w, int h, const QColorH p6, int lineWidth, const QBrushH fill);
C_EXPORT void QStyle_drawRectStrong(QStyleH handle, QPainterH p, int x, int y, int w, int h, const QColorGroupH p6, bool sunken, int lineWidth, int midLineWidth, const QBrushH fill);
C_EXPORT void QStyle_drawButton(QStyleH handle, QPainterH p, int x, int y, int w, int h, const QColorGroupH g, bool sunken, const QBrushH fill);
C_EXPORT void QStyle_buttonRect(QStyleH handle, PRect retval, int x, int y, int w, int h);
C_EXPORT void QStyle_drawButtonMask(QStyleH handle, QPainterH p, int x, int y, int w, int h);
C_EXPORT void QStyle_drawBevelButton(QStyleH handle, QPainterH p, int x, int y, int w, int h, const QColorGroupH g, bool sunken, const QBrushH fill);
C_EXPORT void QStyle_bevelButtonRect(QStyleH handle, PRect retval, int x, int y, int w, int h);
C_EXPORT void QStyle_drawToolButton(QStyleH handle, QPainterH p, int x, int y, int w, int h, const QColorGroupH g, bool sunken, const QBrushH fill);
C_EXPORT void QStyle_drawToolButton2(QStyleH handle, QToolButtonH btn, QPainterH p);
C_EXPORT void QStyle_toolButtonRect(QStyleH handle, PRect retval, int x, int y, int w, int h);
C_EXPORT void QStyle_drawPanel(QStyleH handle, QPainterH p, int x, int y, int w, int h, const QColorGroupH p6, bool sunken, int lineWidth, const QBrushH fill);
C_EXPORT void QStyle_drawPopupPanel(QStyleH handle, QPainterH p, int x, int y, int w, int h, const QColorGroupH p6, int lineWidth, const QBrushH fill);
C_EXPORT void QStyle_drawArrow(QStyleH handle, QPainterH p, ArrowType type, bool down, int x, int y, int w, int h, const QColorGroupH g, bool enabled, const QBrushH fill);
C_EXPORT void QStyle_exclusiveIndicatorSize(QStyleH handle, PSize retval);
C_EXPORT void QStyle_drawExclusiveIndicator(QStyleH handle, QPainterH p, int x, int y, int w, int h, const QColorGroupH g, bool on, bool down, bool enabled);
C_EXPORT void QStyle_drawExclusiveIndicatorMask(QStyleH handle, QPainterH p, int x, int y, int w, int h, bool on);
C_EXPORT void QStyle_indicatorSize(QStyleH handle, PSize retval);
C_EXPORT void QStyle_drawIndicator(QStyleH handle, QPainterH p, int x, int y, int w, int h, const QColorGroupH g, int state, bool down, bool enabled);
C_EXPORT void QStyle_drawIndicatorMask(QStyleH handle, QPainterH p, int x, int y, int w, int h, int state);
C_EXPORT void QStyle_drawFocusRect(QStyleH handle, QPainterH p1, PRect p2, const QColorGroupH p3, const QColorH bg, bool p5);
C_EXPORT void QStyle_drawComboButton(QStyleH handle, QPainterH p, int x, int y, int w, int h, const QColorGroupH g, bool sunken, bool editable, bool enabled, const QBrushH fill);
C_EXPORT void QStyle_comboButtonRect(QStyleH handle, PRect retval, int x, int y, int w, int h);
C_EXPORT void QStyle_comboButtonFocusRect(QStyleH handle, PRect retval, int x, int y, int w, int h);
C_EXPORT void QStyle_drawComboButtonMask(QStyleH handle, QPainterH p, int x, int y, int w, int h);
C_EXPORT void QStyle_drawPushButton(QStyleH handle, QPushButtonH btn, QPainterH p);
C_EXPORT void QStyle_drawPushButtonLabel(QStyleH handle, QPushButtonH btn, QPainterH p);
C_EXPORT void QStyle_pushButtonContentsRect(QStyleH handle, PRect retval, QPushButtonH btn);
C_EXPORT int QStyle_menuButtonIndicatorWidth(QStyleH handle, int h);
C_EXPORT void QStyle_getButtonShift(QStyleH handle, int* x, int* y);
C_EXPORT int QStyle_defaultFrameWidth(QStyleH handle);
C_EXPORT void QStyle_tabbarMetrics(QStyleH handle, const QTabBarH p1, int* p2, int* p3, int* p4);
C_EXPORT void QStyle_drawTab(QStyleH handle, QPainterH p1, const QTabBarH p2, QTabH p3, bool selected);
C_EXPORT void QStyle_drawTabMask(QStyleH handle, QPainterH p1, const QTabBarH p2, QTabH p3, bool selected);
C_EXPORT void QStyle_scrollBarMetrics(QStyleH handle, const QScrollBarH p1, int* p2, int* p3, int* p4, int* p5);
C_EXPORT void QStyle_drawScrollBarControls(QStyleH handle, QPainterH p1, const QScrollBarH p2, int sliderStart, uint controls, uint activeControl);
C_EXPORT QStyleScrollControl QStyle_scrollBarPointOver(QStyleH handle, const QScrollBarH p1, int sliderStart, const QPointH p3);
C_EXPORT int QStyle_sliderLength(QStyleH handle);
C_EXPORT void QStyle_drawSlider(QStyleH handle, QPainterH p, int x, int y, int w, int h, const QColorGroupH g, Orientation p7, bool tickAbove, bool tickBelow);
C_EXPORT void QStyle_drawSliderMask(QStyleH handle, QPainterH p, int x, int y, int w, int h, Orientation p6, bool tickAbove, bool tickBelow);
C_EXPORT void QStyle_drawSliderGroove(QStyleH handle, QPainterH p, int x, int y, int w, int h, const QColorGroupH g, QCOORD c, Orientation p8);
C_EXPORT void QStyle_drawSliderGrooveMask(QStyleH handle, QPainterH p, int x, int y, int w, int h, QCOORD c, Orientation p7);
C_EXPORT int QStyle_maximumSliderDragDistance(QStyleH handle);
C_EXPORT int QStyle_splitterWidth(QStyleH handle);
C_EXPORT void QStyle_drawSplitter(QStyleH handle, QPainterH p, int x, int y, int w, int h, const QColorGroupH g, Orientation p7);
C_EXPORT void QStyle_drawCheckMark(QStyleH handle, QPainterH p, int x, int y, int w, int h, const QColorGroupH g, bool act, bool dis);
C_EXPORT void QStyle_polishPopupMenu(QStyleH handle, QPopupMenuH p1);
C_EXPORT int QStyle_extraPopupMenuItemWidth(QStyleH handle, bool checkable, int maxpmw, QMenuItemH mi, const QFontMetricsH fm);
C_EXPORT int QStyle_popupSubmenuIndicatorWidth(QStyleH handle, const QFontMetricsH fm);
C_EXPORT int QStyle_popupMenuItemHeight(QStyleH handle, bool checkable, QMenuItemH mi, const QFontMetricsH fm);
C_EXPORT void QStyle_drawPopupMenuItem(QStyleH handle, QPainterH p, bool checkable, int maxpmw, int tab, QMenuItemH mi, const QPaletteH pal, bool act, bool enabled, int x, int y, int w, int h);
C_EXPORT void QStyle_drawMenuBarItem(QStyleH handle, QPainterH p, int x, int y, int w, int h, QMenuItemH mi, QColorGroupH g, bool enabled, bool active);
C_EXPORT void QStyle_scrollBarExtent(QStyleH handle, PSize retval);
C_EXPORT int QStyle_buttonDefaultIndicatorWidth(QStyleH handle);
C_EXPORT int QStyle_buttonMargin(QStyleH handle);
C_EXPORT int QStyle_toolBarHandleExtent(QStyleH handle);
C_EXPORT int QStyle_toolBarHandleExtend(QStyleH handle);
C_EXPORT int QStyle_sliderThickness(QStyleH handle);
C_EXPORT void QStyle_drawToolBarHandle(QStyleH handle, QPainterH p, PRect r, Orientation orientation, bool highlight, const QColorGroupH cg, bool drawBorder);

#endif
